China has warned Britain that his decision to ban Huawei from the 5G network would cost Britain dearly.